package com.example;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

@EnableEurekaServer  //添加注册，启动EurekaServer
@SpringBootApplication
public class Sp02EurekaApplication {

    public static void main(String[] args) {
        SpringApplication.run(Sp02EurekaApplication.class, args);
    }

}
